Fix warning: Initialize to TRUE the returned variable
authorJavier Jardón <jjardon@gnome.org>
Fri, 30 Oct 2009 18:11:28 +0000 (19:11 +0100)
committerJavier Jardón <jjardon@gnome.org>
Fri, 30 Oct 2009 18:24:08 +0000 (19:24 +0100)
Also, fixing some indentation problems

gdk-pixbuf/io-qtif.c

index 0b80fe0e63b0c38e2158c03158fad5d36ed5ffa9..a30b5c0250aca75b030df43643bb415825535ee2 100644 (file)
@@ -268,14 +268,14 @@ static gpointer gdk_pixbuf__qtif_image_begin_load (GdkPixbufModuleSizeFunc size_
     context->prepare_func = prepare_func;
     context->update_func = update_func;
 
-       return context;
+    return context;
 }
 
 /* Incremental load clean up. */
 static gboolean gdk_pixbuf__qtif_image_stop_load (gpointer data, GError **error)
 {
     QTIFContext *context = (QTIFContext *)data;
-    gboolean ret;
+    gboolean ret = TRUE;
 
     if(context->loader != NULL)
     {
@@ -288,7 +288,8 @@ static gboolean gdk_pixbuf__qtif_image_stop_load (gpointer data, GError **error)
         }
     }
     g_free(context);
-       return ret;
+
+    return ret;
 }
 
 /* Create a new GdkPixbufLoader and connect to its signals. */